[INFO] cloning repository https://github.com/JoeHowarth/market_sim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoeHowarth/market_sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoeHowarth%2Fmarket_sim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoeHowarth%2Fmarket_sim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 25bdff2ee9f5eb5edb7359c89413cb9e5f03bb10
[INFO] checking JoeHowarth/market_sim against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoeHowarth%2Fmarket_sim" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/JoeHowarth/market_sim on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/JoeHowarth/market_sim
[INFO] finished tweaking git repo https://github.com/JoeHowarth/market_sim
[INFO] tweaked toml for git repo https://github.com/JoeHowarth/market_sim written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/JoeHowarth/market_sim already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded linear-map v1.2.0
[INFO] [stderr]   Downloaded bstr v0.2.8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f4f10d8987bb637ffda6a61056ba29bbf464c2bdf9bf7f0cec42a06300d1ae6b
[INFO] running `Command { std: "docker" "start" "-a" "f4f10d8987bb637ffda6a61056ba29bbf464c2bdf9bf7f0cec42a06300d1ae6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f4f10d8987bb637ffda6a61056ba29bbf464c2bdf9bf7f0cec42a06300d1ae6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f4f10d8987bb637ffda6a61056ba29bbf464c2bdf9bf7f0cec42a06300d1ae6b", kill_on_drop: false }`
[INFO] [stdout] f4f10d8987bb637ffda6a61056ba29bbf464c2bdf9bf7f0cec42a06300d1ae6b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a2f180e55a7dcdf5cbf05d67654124931cc64a661ba372b51c903d9d25ee454e
[INFO] running `Command { std: "docker" "start" "-a" "a2f180e55a7dcdf5cbf05d67654124931cc64a661ba372b51c903d9d25ee454e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling syn v1.0.7
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling cc v1.0.46
[INFO] [stderr]    Compiling serde v1.0.102
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling failure_derive v0.1.6
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]     Checking rustc-demangle v0.1.16
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]     Checking maplit v1.0.2
[INFO] [stderr]     Checking linear-map v1.2.0
[INFO] [stderr]     Checking c2-chacha v0.2.3
[INFO] [stderr]     Checking regex-automata v0.1.8
[INFO] [stderr]    Compiling backtrace-sys v0.1.32
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking csv-core v0.1.6
[INFO] [stderr]     Checking rand_pcg v0.2.1
[INFO] [stderr]     Checking rand_chacha v0.2.1
[INFO] [stderr]     Checking rand v0.7.2
[INFO] [stderr]     Checking backtrace v0.3.40
[INFO] [stderr]    Compiling synstructure v0.12.1
[INFO] [stderr]     Checking bstr v0.2.8
[INFO] [stderr]     Checking arrayvec v0.5.1
[INFO] [stderr]     Checking csv v1.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.102
[INFO] [stderr]     Checking failure v0.1.6
[INFO] [stderr]     Checking market_sim1 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(in_band_lifetimes)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed due to unsolved ergonomic questions and added lifetime resolution complexity
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(in_band_lifetimes)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: removed due to unsolved ergonomic questions and added lifetime resolution complexity
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/agent.rs:57:39
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn choose_task(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task {
[INFO] [stdout]    |                                       ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn choose_task<'a>(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<'a> Agent {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/agent.rs:57:75
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn choose_task(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task {
[INFO] [stdout]    |                                                                           ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn choose_task<'a>(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<'a> Agent {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/agent.rs:57:39
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn choose_task(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task {
[INFO] [stdout]    |                                       ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn choose_task<'a>(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<'a> Agent {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a`
[INFO] [stdout]   --> src/agent.rs:57:75
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn choose_task(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task {
[INFO] [stdout]    |                                                                           ^^ undeclared lifetime
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn choose_task<'a>(&self, tasks: &'a [Task], market: &dyn Market) -> &'a Task {
[INFO] [stdout]    |                       ++++
[INFO] [stdout] help: consider introducing lifetime `'a` here
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl<'a> Agent {
[INFO] [stdout]    |     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0261, E0557.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0261`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `market_sim1` due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/agent.rs:279:32
[INFO] [stdout]     |
[INFO] [stdout] 279 |         let a = Agent::new(20, hashmap! {Grain => s, Food => 40});
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `i16`, found struct `std::collections::HashMap`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected type `i16`
[INFO] [stdout]              found struct `std::collections::HashMap<goods::Good, i16>`
[INFO] [stdout]     = note: this error originates in the macro `hashmap` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/agent.rs:279:32
[INFO] [stdout]     |
[INFO] [stdout] 279 |         let a = Agent::new(20, hashmap! {Grain => s, Food => 40});
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f32`, found `i16`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `std::collections::HashMap<_, f32>`
[INFO] [stdout]                found struct `std::collections::HashMap<_, i16>`
[INFO] [stdout]     = note: this error originates in the macro `hashmap` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]    --> src/agent.rs:279:17
[INFO] [stdout]     |
[INFO] [stdout] 279 |         let a = Agent::new(20, hashmap! {Grain => s, Food => 40});
[INFO] [stdout]     |                 ^^^^^^^^^^--------------------------------------- an argument of type `std::collections::HashMap<goods::Good, f32>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> src/agent.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 |     pub fn new(cash: i16, res: HashMap<Good, i16>, skill: HashMap<Good, f32>) -> Agent {
[INFO] [stdout]     |            ^^^ ---------  -----------------------  -------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 279 |         let a = Agent::new(20, hashmap! {Grain => s, Food => 40}, /* std::collections::HashMap<goods::Good, f32> */);
[INFO] [stdout]     |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0261, E0308, E0557.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `market_sim1` due to 7 previous errors
[INFO] running `Command { std: "docker" "inspect" "a2f180e55a7dcdf5cbf05d67654124931cc64a661ba372b51c903d9d25ee454e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2f180e55a7dcdf5cbf05d67654124931cc64a661ba372b51c903d9d25ee454e", kill_on_drop: false }`
[INFO] [stdout] a2f180e55a7dcdf5cbf05d67654124931cc64a661ba372b51c903d9d25ee454e
